﻿using DataAccess.DAO;
using FluentNHibernate.Mapping;

namespace DataAccess.Mappings
{
    public class UserAccountMap : ClassMap<UserAccountDAO>
    {
        public UserAccountMap()
        {
            Table("Accounts");
            Id(x => x.UserAccountId);
            Map(x => x.UserId);
            Map(x => x.AccountName);
            Map(x => x.AccountPassword);
            Map(x => x.SocialNetworkId);
        }
    }
}
